package com.zsg.service;

import com.zsg.pojo.User;
import com.zsg.utils.ResponseData;

public interface UserService {
    /**
     * 添加用户
     * @param user
     * @return
     */
    ResponseData addUser(User user);

    /**
     * 删除用户
     * @param user
     * @return
     */
    ResponseData delUser(User user);

    /**
     * 修改用户
     * @param user
     * @return
     */
    ResponseData updateUser(User user);

    /**
     * 查询用户
     * @param user
     * @return
     */
    ResponseData queryUser(User user);
}
